<?php
/**
 *
 *
 * @author AnthonyYang
 */
class JHttpRequest extends CHttpRequest
{
	/**
	 *
	 *
	 * @author AnthonyYang
	 * @access public
	 * @return boolean
	 */
	public function getIsMobileRequest ()
	{
		if (Jii::import('Jii.vendors.MobileDetect.Mobile_Detect')) {
			$mobileDetect = new Mobile_Detect();
			return $mobileDetect->isMobile();
		}
		return false;
	}
}